package cz.jm.web.jmlib.client.layouts;

import com.google.gwt.user.client.ui.LayoutPanel;
import com.google.gwt.user.client.ui.Widget;

abstract class LineLayout extends LayoutPanel {
	
	
	@Override
	public void insert(Widget widget, int beforeIndex) { 
		super.insert(widget, beforeIndex);
		onInsertChild(widget);
	}
	
	protected abstract void onInsertChild(Widget child); 
}